The suggestions box actor was not being correctly populated.
Make it correctly use the St.BoxLayout add_child() method.
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3422
Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2965
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1806>
add(word, callback) {
let button = new St.Button({ label: word });
button.connect('clicked', callback);
- this.add(button);
+ this.add_child(button);
}
clear() {